/*
 * Solver.cpp
 *
 *  Created on: 10/09/2014
 *      Author: Samuel
 */

#include "Solver.h"

Solver::Solver(Graph* g) {
	tm = new Timer();
	this->g = g;
}

Solver::~Solver() {
	delete tm;
}

double Solver::solve(double* t){
	tm->start();
	double ret = innersolver();
	*t = tm->stop();
	return ret;
}
